[−][src]Crate tectonic_errors
Generic error handling for Tectonic.
This crate provides a generic boxed error type, plus supporting utilities. In particular:
- The basic
Error
type is ananyhow
1.x boxed Error - The
atry!
macro allows simple structured annotations to be added to?
operations - The
a_ok_or!
macro allows for annotations toOption::ok_or_else
calls.
Re-exports
pub use anyhow; |
Macros
a_ok_or | "annotated ok_or” — like |
atry | "Annotated try” — like |
Structs
AnnotatedMessage | A simple annotated message that can be attached to errors using the
|
Error | The generic error type, for complex operations that can fail for a wide
range of reasons. This type is a reexport of the |
Type Definitions
Result | A preloaded result type where the error type is our generic error type. |